﻿<Window x:Class="SolickManagerV3_4.Windows.ConfirmationWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:SolickManagerV3_4.Windows"
        mc:Ignorable="d"
        WindowStartupLocation="CenterScreen"
        Icon="Images/SolulCompIcon.ico"
        Title="SoulComp Manager" Height="300" Width="500">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <TextBlock Width="auto" VerticalAlignment="Center"  HorizontalAlignment="Center" Height="auto" TextWrapping="Wrap" FontSize="16" Text="{Binding MessageText}"/>

        <StackPanel Orientation="Vertical" Grid.Row="1">
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                <Button Content="Нет" FontSize="18" Margin="10 10 70 10" Padding="15 5" Click="NoButton"/>
                <Button Content="Да" FontSize="18" Margin="70 10 10 10" Padding="15 5" Click="YesButton"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</Window>
